﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using LogisticDatabase;
using LogisticDatabase.Models; 
  

namespace LogisticSimulator.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {

            ViewBag.Type = "Home";
            ViewBag.Operation = "Index";
    
            return View();
        }

        
        [HttpGet]
        public ActionResult factoryEdit()
        {

            return View();
        }
        [HttpGet]
        public ActionResult createProduct()
        {

            return View();
        }
        [HttpGet]
        public ActionResult startManufacture()
        {

            return View();
        }
        [HttpGet]
        public ActionResult createOrder()
        {

            return View();
        }

        /*
         * 
         * olyan mint Java-ba a doGet()
        [HttpGet]
        public ActionResult cshtmlneve() {

            return View();
        }
        */
        public ActionResult About()
        {
            ViewBag.Message = "Your application description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}